package cn.itcast.service;

import cn.itcast.domain.Account;

import java.util.List;

public interface AccountService {
    List<Account> findAll() throws Exception;

    Account findById(Integer id) throws Exception;

    void update(Account account) throws Exception;

    void delete(Integer id) throws Exception;

    void add(Account account) throws Exception;
}
